home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Visual Basic Source Code
/
Visual Basic Source Code.iso
/
vbsource
/
sspw
/
sspw.frm
< prev
next >
Wrap
Text File
|
1995-01-13
|
2KB
|
78 lines
VERSION 2.00
Begin Form Form1
BackColor = &H00C0C0C0&
Caption = "SSPW"
ClientHeight = 1485
ClientLeft = 1605
ClientTop = 1725
ClientWidth = 2790
Height = 1890
Left = 1545
LinkTopic = "Form1"
ScaleHeight = 1485
ScaleWidth = 2790
Top = 1380
Width = 2910
Begin CommandButton Command2
Caption = "&Quit"
Height = 495
Left = 1440
TabIndex = 2
Top = 840
Width = 1215
End
Begin CommandButton Command1
Caption = "&Check PW"
Default = -1 'True
Enabled = 0 'False
Height = 495
Left = 120
TabIndex = 1
Top = 840
Width = 1215
End
Begin TextBox Text1
Height = 315
Left = 120
TabIndex = 0
Top = 420
Width = 2535
End
Begin Label Label1
BackColor = &H00C0C0C0&
Caption = "Enter your Saver Password"
Height = 255
Left = 120
TabIndex = 3
Top = 120
Width = 2475
End
End
Option Explicit
Sub Command1_Click ()
Dim Password$
Password$ = Text1.Text
Call EncryptString(Password$)
If Password$ = GetPassword() Then
MsgBox "The Password you keyed matches your Saver Password"
Else
MsgBox "The Password you keyed does not match your Saver Password"
End If
Text1.SetFocus
End Sub
Sub Command2_Click ()
End
End Sub
Sub Text1_Change ()
If Text1.Text > "" Then
Command1.Enabled = True
Else
Command1.Enabled = False
End If
End Sub